var seneca = require('seneca')();

//根据参数来设置系统
seneca.listen({ pin: 'role:microservice', port: 4098 })
    .client({
        port: 4000,
        host: '172.18.0.11',
        pin: 'role:microservice,path:log'
    }).client({
        port: 4001,
        host: '172.18.0.12',
        pin: 'role:microservice,path:authority'
    }).client({
        port: 4002,
        host: '172.18.0.13',
        pin: 'role:microservice,path:basedata'
    });